# Maintainer: Stacy Harper <contact@stacyharper.net>
pkgname=py3-mopidy-tidal
_pyname=Mopidy-Tidal
pkgver=0.2.7
pkgrel=0
pkgdesc="Mopidy extension for Tidal music service integration"
url="https://github.com/tehkillerbee/mopidy-tidal"
arch="noarch"
license="Apache-2.0"
depends="python3 mopidy gst-plugins-bad py3-tidalapi"
makedepends="py3-setuptools py3-wheel"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
8a53328294f4018e2161c783a9a7502bbc8fb2a5a792ea6fad1881ae7d2019ce22005016686785cc48d4791bb5673042e22fa4e667635b430cebacfcdfed57e9  Mopidy-Tidal-0.2.7.tar.gz
"
